import request from '../utils/request';
import host from '../utils/constant';

export async function list() {
  const requestUrl = `${host}/category/list?isValid=true`;
  return request(requestUrl);
}
